/*
 * Copyright (c) 2010. Dylan Schell.
 */

package nl.xs4all.dylanschell.deckprinter.services;

import com.google.inject.Inject;
import com.google.inject.Singleton;
import nl.xs4all.dylanschell.deckprinter.model.CardInSet;

@Singleton
public class ImageServiceImpl implements ImageService
{
    private final SetService setService;

    @Inject
    public ImageServiceImpl(SetService setService)
    {
        this.setService = setService;
    }

    public byte[] getImage(CardInSet card)
    {
        return setService.getImage(card);
    }

    public long getLastModified(CardInSet cis)
    {
        return setService.getLastModified(cis);
    }
}
